package com.feeyo.monitor.enumeration;

/**
 * 告警类型枚举
 * @Author <a href="mailto:bliulei@variflight.com">liulei</a>
 * @Description Created by liulei on 2017/5/18 下午5:42.
 */
public enum AlarmType {
	OVERSPEED_AREA_IN(1,"进入超速区"),
	OVERSPEED_AREA_OUT(2,"离开超速区"),
	FORBID_AREA_IN(3,"进入限制区"),
	FORBID_AREA_OUT(4,"离开限制区"),
	DRIVER_ON(5,"司机上车"),
	DRIVER_OFF(6,"司机下车"),
	MAINTAIN_ON(7,"保障开始"),
	MAINTAIN_OFF(8,"保障结束");
	
	private int key;
	private String value;

	private AlarmType(int key, String value) {
		this.key = key;
		this.value = value;
	}

	public int getKey() {
		return key;
	}

	public String getValue() {
		return value;
	}
}
